package com.example.librarymanagementproject2.service.enums;

/**
 * @EnumName EmailEnum
 * @Description TODO
 * @Author Kx
 * @Date 2025/10/28 15:03
 * @Version 1.0
 */
public enum EmailEnum {
    /**
     * 定义存储验证码的Redis键前缀
     */
    CAPTCHA_PREFIX("email:code:");

    private String prefix;

    EmailEnum(String prefix) {
        this.prefix = prefix;
    }

    public String value() {
        return prefix;
    }
}
